Post

Replies

Boosts

Views

Activity

Comment on Xcode 16.3, an error is occurring in the String Catalog.
If the string is in the format %1$#@VARIABLE@, but argNum is set to 2 — I believe this is a clear contradiction. To prevent issues like this, how about removing the argNum field entirely from the String Catalog? In my opinion, since plural variables already have either explicit or implicit indexes within the string, it might be possible to omit argNum altogether.
Apr ’25
Comment on Xcode 16.3, an error is occurring in the String Catalog.
Hello. Thanks for the explanation. I checked the Attributes inspector, but the Argument Number field isn’t visible. I think this happens when a stringsdict is migrated to xcstrings. (It does appear for items built with LocalizedStringResource("key_1", defaultValue: "%lf %ld").) I fixed it by manually editing the JSON to add argNum, or by changing %arg to %2$ld. Is the missing field in such cases intentional?
Apr ’25